﻿using System.Web.UI.WebControls;
using System.Drawing;

namespace Inkubator.Wizard.WebWizard.WizardControl
{
    /// <summary>
    /// This class set the look and feel properties for 
    /// the Wizard Control
    /// </summary>
    public class StyleWizardView
    {
        private WizardWeb wizard;

        public StyleWizardView(WizardWeb wizardWeb)
        {
            this.wizard = wizardWeb;
        }

        public void setWizardBackColor(Color color)
        {
            this.wizard.BackColor = color;
        }
        public void setWizardBorderColor(Color color)
        {
            this.wizard.BorderColor = color;
        }
        public void setCellCenterForeColor(Color color)
        {
            this.wizard.getCellCenter().ForeColor = color;
        }
        public void setCellLeftBackColor(Color color)
        {
            this.wizard.getCellLeft().BackColor = color;
        }
        public void setCellLeftForeColor(Color color)
        {
            this.wizard.getCellLeft().ForeColor = color;
        }
        public void setButtonPanelBackColor(Color color)
        {
            this.wizard.getButtonPanel().BackColor = color;
        }
        public void setButtonPanelBorderColor(Color color)
        {
            this.wizard.getButtonPanel().BorderColor = color;
        }
        public void setButtonPanelBorderStyle(BorderStyle border)
        {
            this.wizard.getButtonPanel().BorderStyle = border;
        }
        public void setButtonPanelBorderWidth(int border)
        {
            this.wizard.getButtonPanel().BorderWidth = border;
        }
        public void setButtonPanelForeColor(Color color)
        {
            this.wizard.getButtonPanel().ForeColor = color;
        }
        public void setTitlePanelBackColor(Color color)
        {
            this.wizard.getTitlePanel().BackColor = color;
        }
        public void setTitlePanelBorderColor(Color color)
        {
            this.wizard.getTitlePanel().BorderColor = color;
        }
        public void setTitlePanelBorderStyle(BorderStyle border)
        {
            this.wizard.getTitlePanel().BorderStyle = border;
        }
        public void setTitlePanelBorderWidth(int border)
        {
            this.wizard.getTitlePanel().BorderWidth = border;
        }
        public void setTitlePanelFontBold(bool bold)
        {
            this.wizard.getTitlePanel().Font.Bold = bold;
        }
        public void setTitlePanelForeColor(Color color)
        {
            this.wizard.getTitlePanel().ForeColor = color;
        }
        public void setTitlePanelHorizontalAlign(HorizontalAlign align)
        {
            this.wizard.getTitlePanel().HorizontalAlign = align;
        }
    }
}
